#!/bin/sh
#
num_m=$(ps -ef | grep  /app/www/web_fpy/think | grep queue | grep -v grep | wc -l) #房源队列消耗

if [ $num_m -lt 1 ];then
   php /app/www/web_fpy/think queue > /app/logs/php/web_fpy/_/queue_print.log  2>&1 &
fi